Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore C

Total Complexity 102
Dependencies 7
Dependents 6
Total lines 966
Lines of code 589
Logical lines of code 289
Comment lines 234
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
add_sql_query_params()
C
29
26 128
add_time_period_sql_params()
A
42 10 53
update_registered_customer()
A
43 7 51
anonymize_customer()
S
47 4 43
get_noncached_data()
S
45 4 43
get_existing_customer_id_from_order()
S
52 5 26
get_customer_order_data_and_format()
S
47 4 36
sync_order_customer()
S
54 5 19
get_or_create_customer_from_order()
S
56 5 18
is_valid_customer()
S
61 4 11
delete_customer_by_user_id()
S
62 4 11
get_order_count()
S
58 3 17
get_last_order()
S
58 2 16
get_oldest_orders()
S
57 2 16
sync_on_order_delete()
S
65 3 10
get_customer_id_by_user_id()
S
63 2 11
get_guest_id_by_email()
S
63 2 11
assign_report_columns()
S
53 1 23
update_registered_customer_via_last_active()
S
73 2 5
delete_customer()
S
65 2 9
normalize_order_by()
S
72 2 6
init()
S
62 1 11
get_default_query_vars()
S
68 1 7
initialize_queries()
S
66 1 8